public with sharing class ActivityResourceEntry {
   public Boolean isCheck{get;set;}
   public Resource_Allocation__c Res{get;set;}
   public Integer TotalResourceNumber{get;set;}
   public ActivityResourceEntry(Boolean isCheck,Resource_Allocation__c res)
   {
     this.isCheck=isCheck;
     this.Res=res;
   }
   public ActivityResourceEntry(Boolean isCheck,Resource_Allocation__c res,Integer totalResourceNumber)
   {
     this.isCheck=isCheck;
     this.Res=res;
     this.TotalResourceNumber=totalResourceNumber;
   }
}